package com.javafx.simple.demo.controller;

import javafx.fxml.FXML;
import javafx.scene.control.Label;

/**
 * 首页控制器
 */
public class IndexController {

    @FXML
    private Label welcomeText;

    @FXML
    protected void onHelloClick() {
        welcomeText.setText("欢迎您开始 JavaFX 的快乐旅程!");
    }
}
